package com.example.teach.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("course_schedule")
public class Schedule {

    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    private Integer courseId;
    private Integer classId;
    private Integer teacherId;
    private Integer startWeek; // 教学周1-18
    private Integer endWeek;
    private Integer day; // 星期1-7
    private Integer startTime; // 开始节次1-11
    private Integer endTime; // 结束节次2-12
    private String classroom;
}
